<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, init-scale=1">
    <meta name="description" content="">

    <title>随访系统</title>

    <link rel="stylesheet" href="bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="angular-loading-bar/src/loading-bar.css">
    <link rel="stylesheet" href="styles.css"/>
    <link rel="stylesheet" href="angular-bootstrap-datetimepicker/src/css/datetimepicker.css">
    <!-- styles -->
    <link rel="stylesheet" href="lib/angular-tower-editor/stylesheets/simditor.css" />
    <link rel="stylesheet" href="lib/angular-tower-editor/stylesheets/font-awesome.css" />


    <script src="jquery/dist/jquery.min.js"></script>
    <script src="bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="lib/plupload-2.1.2/js/plupload.full.min.js"></script>
    <script type="application/javascript">
    </script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="html5shiv/dist/html5shiv.min.js"></script>
    <script src="respond/dest/respond.min.js"></script>
    <![endif]-->

</head>
<body ng-app="vistrack">
<div class="navbar navbar-default navbar-fixed-top" role="navigation" ng-controller="HomeCtrl">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapsed"
                    data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">随访系统</a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-left">
                <li><a ng-show="role == 1|| role== 2 || role == 3 || role == 4"  ng-href="#/hospital_aggregate">医院医生查询</a></li>
                <!--<li><a ng-href="#/signup">疾病分类查询</a></li>-->
                <!--<li><a ng-href="#/add_patient">患者信息录入</a></li>-->

                <!--
                    {code: 1, desc: '管理员'},
                  {code: 2, desc: '内部－医学专业人员'},
                  {code: 3, desc: '内部－市场类'},
                  {code: 4, desc: '外派人员'}
                -->
                <li class="dropdown">
                    <a class="dropdown-toggle"  ng-show="role == 1 || role == 4" data-toggle="dropdown">医院信息维护 <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="#/hospital_list" ng-show="role == 1">医院信息维护</a></li>
                        <li><a href="#/office_list" ng-show="role == 1 || role == 4">科室信息维护</a></li>
                        <li><a href="#/doctor_list" ng-show="role == 1 || role == 4" >医生信息维护</a></li>
                    </ul>
                </li>

                <li class="dropdown">
                    <a class="dropdown-toggle" ng-show="role == 1 || role == 4" data-toggle="dropdown">信息录入 <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <!--<li><a href="#/add_patient">病人信息</a></li>-->
                        <li><a href="#/patient_list">病人信息</a></li>
                        <li><a href="#/create_vistrack">随访信息</a></li>
                        <li><a href="#/patient_fee_list">病人费用</a></li>
                        <li><a href="#/add_labfee">实验室费用</a></li>
                    </ul>
                </li>
                <!--<li><a ng-href="#/hospital_list">医院信息维护</a></li>-->

                <li class="dropdown">
                    <a class="dropdown-toggle"  ng-show="role == 1 || role == 2 || role == 3 || role ==4" data-toggle="dropdown">收费统计 <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="#/hospital_statistic">医院收费统计</a></li>
                        <li><a href="#/doctor_statistic">医生收费统计</a></li>
                    </ul>
                </li>

                <li><a ng-href="#/lab_fee_list" ng-show="role == 1 || role == 4 || role == 2">实验室费用查询</a></li>
                <li><a ng-href="#/mkt_hospital_aggregate" ng-hide="!role || role == 1 || role ==2 || role == 4" ng-show="role == 3">医院服务</a></li>
                <li class="dropdown">
                    <a class="dropdown-toggle"  ng-show="role == 1" ng-hide="!role || role == 2 || role == 3 || role ==4" data-toggle="dropdown">医院服务 <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="#/mkt_hospital_aggregate">医院服务</a></li>
                        <li><a href="#/research_list">学术服务</a></li>
                    </ul>
                </li>
                <li><a ng-href="#/user_list" ng-show="role == 1">用户信息维护</a></li>
                <li><a ng-href="#/material_list" ng-show="role == 1 || role == 4" ng-hide="!role || role == 2 || role == 3">学习园地</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right user_login">

                <li ng-show="token"><a class="user_info" ng-href="#/me">{{username}}</a></li>
                <li ng-show="token"><a class="user_info" ng-show="token" ng-click="logout()">退出</a></li>
                <li ng-hide="token"><a class="user_info" ng-href="#/signin">登录</a></li>
            </ul>
        </div>
        <!--/.nav-collapse -->
    </div>
</div>
<div class="view-container">
    <div ng-view class="view-frame"></div>
</div>

<script src="angular/angular.min.js"></script>
<script src="angular-sanitize/angular-sanitize.min.js"></script>
<script src="angular-route/angular-route.min.js"></script>
<script src="angular-loading-bar/build/loading-bar.min.js"></script>
<script src="angular-smart-table/dist/smart-table.min.js"></script>
<script type="text/javascript" src="moment/min/moment.min.js"></script>
<script type="text/javascript" src="moment/locale/zh-cn.js"></script>
<script type="text/javascript" src="angular-bootstrap-datetimepicker/src/js/datetimepicker.js"></script>
<script type="text/javascript" src="angular-bootstrap-pagination/js/ui-bootstrap-custom-tpls.min.js"></script>
<script src="ngstorage/ngStorage.min.js"></script>
<script src="bootbox/bootbox.js"></script>
<script src="js-md5/js/md5.min.js"></script>
<script src="js-base64/base64.min.js"></script>
<script src="upyun/dist/upyun.min.js"></script>
<!-- other libs -->
<script src="lib/angular-tower-editor/javascripts/simditor/simditor-all.js"></script>
<script src="lib/angular-tower-editor/javascripts/angular-editor.js"></script>
<script src="scripts/app.js"></script>
<script src="scripts/baseservice.js"></script>
<script src="scripts/homecontroller.js"></script>
<script src="scripts/usercontroller.js"></script>
<script src="scripts/hospitalcontroller.js"></script>
<script src="scripts/doctorcontroller.js"></script>
<script src="scripts/doctorservice.js"></script>
<script src="scripts/hospitalservice.js"></script>
<script src="scripts/mainservice.js"></script>
<script src="scripts/officeservice.js"></script>
<script src="scripts/officecontroller.js"></script>
<script src="scripts/provinceservice.js"></script>
<script src="scripts/directives.js"></script>
<script src="scripts/patientservice.js"></script>
<script src="scripts/patientcontroller.js"></script>
<script src="scripts/vistrackcontroller.js"></script>
<script src="scripts/diseaseservice.js"></script>
<script src="scripts/vistrackservice.js"></script>
<script src="scripts/hospitalaggregatecontroller.js"></script>
<script src="scripts/hospitalaggregateservice.js"></script>
<script src="scripts/officeaggregatecontroller.js"></script>
<script src="scripts/officeaggregateservice.js"></script>
<script src="scripts/doctoraggregatecontroller.js"></script>
<script src="scripts/doctoraggregateservice.js"></script>
<script src="scripts/patientdoctorcontroller.js"></script>
<script src="scripts/vistrackviewcontroller.js"></script>
<script src="scripts/marketcontroller.js"></script>
<script src="scripts/researchcontroller.js"></script>
<script src="scripts/researchservice.js"></script>
<script src="scripts/marketservice.js"></script>
<script src="scripts/feecontroller.js"></script>
<script src="scripts/feeservice.js"></script>
<script src="scripts/labfeecontroller.js"></script>
<script src="scripts/labfeeservice.js"></script>
<script src="scripts/statisticcontroller.js"></script>
<script src="scripts/statisticservice.js"></script>
<script src="scripts/materialcontroller.js"></script>
<script src="scripts/materialdtlcontroller.js"></script>
<script src="scripts/materialservice.js"></script>
<script src="scripts/mecontroller.js"></script>
<script src="scripts/meservice.js"></script>
</body>
</html>